# Author: 开哥
# 2025年11月06日23时40分
# wangjk_loong@163.com

rivers = {
    "Nile": "Egypt",
    "Amazon": "Brazil",
    "Yangtze": "China",
}

for river_name, country in rivers.items():
    print(f'The {river_name} runs through {country}.')

print()
for river_name in rivers.keys():
    print(river_name)

print()
for country in rivers.values():
    print(country)
